#include "environment.h"
#include <QtQml/QQmlExtensionPlugin>
#include <QtQml/qqml.h>
//start id=pluginCpp
class CppPlugin : public QQmlExtensionPlugin
{
    Q_OBJECT
    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")

public:
    void registerTypes(const char *uri)
    {
        Q_ASSERT(uri == QLatin1String("com.ics.CppExample"));
        qmlRegisterType<Dumper>(uri, 1, 0, "Dumper");
    }
};
//end

#include "plugin.moc"
